<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>计时器</title>
    <style>
        .ipt {
            width: 100px;
            height: 70px;
        }

        body {
            text-align: center;
            margin: 0;
        }

        .time {
            font-size: 18vw;
            font-weight: 500;
            margin-top: 10%;
        }

        .control {
            width: 100%;
            position: absolute;
            bottom: 0;
            text-align: center;
        }

        .ipt,
        button {
            font-size: 50px;
            display: inline-block;
        }
    </style>
</head>

<body>
    <div class="time">
        <span id="hourDisplay">00</span><span>:</span><span id="minDisplay">00</span><span>:</span><span id="secDisplay">00</span>
    </div>
    <div class="control">
        <input type="number" id="hourIpt" class="ipt" value=0>
        <input type="number" id="minIpt" class="ipt" value=0>
        <input type="number" id="secIpt" class="ipt" value=0>
        <br><button id="start">开始计时</button>
    </div>
</body>
<script src="./index.js"></script>

</html>